home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / Miro_Downloader.exe / frontend.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2007-11-12  |  1.4 KB  |  33 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.5)
  3.  
  4. from frontend_implementation.HTMLDisplay import HTMLDisplay, getDTVAPIURL, getDTVAPICookie
  5. from frontend_implementation.Application import Application
  6. from frontend_implementation.UIBackendDelegate import UIBackendDelegate
  7. from frontend_implementation.MainFrame import MainFrame
  8. from frontend_implementation.VideoDisplay import VideoDisplay, PlaybackController
  9. import frontend_implementation.startup as startup
  10. import migrateappname
  11. jsBridge = None
  12. vlcRenderer = None
  13. currentVideoPath = None
  14.  
  15. def quit(emergencyExit = False):
  16.     jsBridge.closeWindow()
  17.  
  18. from ctypes.wintypes import windll
  19.  
  20. def exit(returnCode):
  21.     windll.kernel32.ExitProcess(returnCode)
  22.  
  23.  
  24. def inMainThread(function, args = None, kwargs = None):
  25.     if args is None:
  26.         args = ()
  27.     
  28.     if kwargs is None:
  29.         kwargs = { }
  30.     
  31.     return function(*args, **kwargs)
  32.  
  33.